import httpTokenRequest from "../util/request.js"
export function getAllCourse(){
	 return httpTokenRequest({
		 url:'/school/course/courseAll',
		 method:"get"
	 })
}

export function getCourseById(courseId){
	 return httpTokenRequest({
		 url:'/ys-order/getCourseByCourseId/'+courseId,
		 method:"get"
	 })
}